APM.ConfigSysmonitorController = Ember.Controller.extend({
	form: {
		confType:"12"
	},
	
	divShowsystem : Ember.computed(function() {
		return true;
	}),
	
	divShowprotocol : Ember.computed(function() {
		return false;
	}),
	
	divShowindicator : Ember.computed(function() {
		return false;
	}),
	
	divShowDB : Ember.computed(function() {
		return false;
	}),

	actions: {
		tabshow: function(tabIndex){
			if(tabIndex=="1"){
				alert("内存使用情况");
			}
			if(tabIndex=="2"){
				alert("CPU使用情况");
			}
			if(tabIndex=="3"){
				alert("进程情况");
			}
			if(tabIndex=="4"){
				alert("网络情况");
			}
		},
		
		queryInfo: function(){
			var ctrl = this;

			this.store.ajax("POST", "configs/systemConfig", {
				confType:form.confType
				
			});
		}
	}
});